package com.rzl.expense.expense.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.rzl.expense.common.annotation.Excel;
import com.rzl.expense.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 11对象 ele_baseresourceelectricmeter
 * 
 * @author expense
 * @date 2025-02-20
 */
public class EleBaseresourceelectricmeter extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private String baseresourceelectricmeterId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String baseresourceId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String meterId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String billaccountId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date planPaymentdate;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal electricmeterMultiply;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal electricmeterRatio;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal cmccRatio;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal unicomRatio;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal telcomRatio;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long relationState;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date relationStartdate;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date relationEnddate;

    /** 原电表最后读数 */
    @Excel(name = "原电表最后读数")
    private BigDecimal originalMeterDegree;

    /** 新电表读数 */
    @Excel(name = "新电表读数")
    private BigDecimal currentMeterDegree;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String relationBillaccountId;

    /** 创建人Id */
    @Excel(name = "创建人Id")
    private String createUserId;

    /** 最后一次修改人Id */
    @Excel(name = "最后一次修改人Id")
    private String updateUserId;

    /** 最后更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "最后更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date lastModifyTime;

    /** 电表类型 1：普通表 2：平峰谷表 */
    @Excel(name = "电表类型 1：普通表 2：平峰谷表")
    private Long onMeterType;

    /** 是否多机房共用 0：否 1：是 */
    @Excel(name = "是否多机房共用 0：否 1：是")
    private Long onIsShare;

    /** 1:展示该记录 */
    @Excel(name = "1:展示该记录")
    private String isShow;

    /** 错误数据更正编号 */
    @Excel(name = "错误数据更正编号")
    private String correctId;

    /** 错误数据更正时间  */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "错误数据更正时间 ", width = 30, dateFormat = "yyyy-MM-dd")
    private Date correctTime;

    public void setBaseresourceelectricmeterId(String baseresourceelectricmeterId) 
    {
        this.baseresourceelectricmeterId = baseresourceelectricmeterId;
    }

    public String getBaseresourceelectricmeterId() 
    {
        return baseresourceelectricmeterId;
    }
    public void setBaseresourceId(String baseresourceId) 
    {
        this.baseresourceId = baseresourceId;
    }

    public String getBaseresourceId() 
    {
        return baseresourceId;
    }
    public void setMeterId(String meterId) 
    {
        this.meterId = meterId;
    }

    public String getMeterId() 
    {
        return meterId;
    }
    public void setBillaccountId(String billaccountId) 
    {
        this.billaccountId = billaccountId;
    }

    public String getBillaccountId() 
    {
        return billaccountId;
    }
    public void setPlanPaymentdate(Date planPaymentdate) 
    {
        this.planPaymentdate = planPaymentdate;
    }

    public Date getPlanPaymentdate() 
    {
        return planPaymentdate;
    }
    public void setElectricmeterMultiply(BigDecimal electricmeterMultiply) 
    {
        this.electricmeterMultiply = electricmeterMultiply;
    }

    public BigDecimal getElectricmeterMultiply() 
    {
        return electricmeterMultiply;
    }
    public void setElectricmeterRatio(BigDecimal electricmeterRatio) 
    {
        this.electricmeterRatio = electricmeterRatio;
    }

    public BigDecimal getElectricmeterRatio() 
    {
        return electricmeterRatio;
    }
    public void setCmccRatio(BigDecimal cmccRatio) 
    {
        this.cmccRatio = cmccRatio;
    }

    public BigDecimal getCmccRatio() 
    {
        return cmccRatio;
    }
    public void setUnicomRatio(BigDecimal unicomRatio) 
    {
        this.unicomRatio = unicomRatio;
    }

    public BigDecimal getUnicomRatio() 
    {
        return unicomRatio;
    }
    public void setTelcomRatio(BigDecimal telcomRatio) 
    {
        this.telcomRatio = telcomRatio;
    }

    public BigDecimal getTelcomRatio() 
    {
        return telcomRatio;
    }
    public void setRelationState(Long relationState) 
    {
        this.relationState = relationState;
    }

    public Long getRelationState() 
    {
        return relationState;
    }
    public void setRelationStartdate(Date relationStartdate) 
    {
        this.relationStartdate = relationStartdate;
    }

    public Date getRelationStartdate() 
    {
        return relationStartdate;
    }
    public void setRelationEnddate(Date relationEnddate) 
    {
        this.relationEnddate = relationEnddate;
    }

    public Date getRelationEnddate() 
    {
        return relationEnddate;
    }
    public void setOriginalMeterDegree(BigDecimal originalMeterDegree) 
    {
        this.originalMeterDegree = originalMeterDegree;
    }

    public BigDecimal getOriginalMeterDegree() 
    {
        return originalMeterDegree;
    }
    public void setCurrentMeterDegree(BigDecimal currentMeterDegree) 
    {
        this.currentMeterDegree = currentMeterDegree;
    }

    public BigDecimal getCurrentMeterDegree() 
    {
        return currentMeterDegree;
    }
    public void setRelationBillaccountId(String relationBillaccountId) 
    {
        this.relationBillaccountId = relationBillaccountId;
    }

    public String getRelationBillaccountId() 
    {
        return relationBillaccountId;
    }
    public void setCreateUserId(String createUserId) 
    {
        this.createUserId = createUserId;
    }

    public String getCreateUserId() 
    {
        return createUserId;
    }
    public void setUpdateUserId(String updateUserId) 
    {
        this.updateUserId = updateUserId;
    }

    public String getUpdateUserId() 
    {
        return updateUserId;
    }
    public void setLastModifyTime(Date lastModifyTime) 
    {
        this.lastModifyTime = lastModifyTime;
    }

    public Date getLastModifyTime() 
    {
        return lastModifyTime;
    }
    public void setOnMeterType(Long onMeterType) 
    {
        this.onMeterType = onMeterType;
    }

    public Long getOnMeterType() 
    {
        return onMeterType;
    }
    public void setOnIsShare(Long onIsShare) 
    {
        this.onIsShare = onIsShare;
    }

    public Long getOnIsShare() 
    {
        return onIsShare;
    }
    public void setIsShow(String isShow) 
    {
        this.isShow = isShow;
    }

    public String getIsShow() 
    {
        return isShow;
    }
    public void setCorrectId(String correctId) 
    {
        this.correctId = correctId;
    }

    public String getCorrectId() 
    {
        return correctId;
    }
    public void setCorrectTime(Date correctTime) 
    {
        this.correctTime = correctTime;
    }

    public Date getCorrectTime() 
    {
        return correctTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("baseresourceelectricmeterId", getBaseresourceelectricmeterId())
            .append("baseresourceId", getBaseresourceId())
            .append("meterId", getMeterId())
            .append("billaccountId", getBillaccountId())
            .append("planPaymentdate", getPlanPaymentdate())
            .append("electricmeterMultiply", getElectricmeterMultiply())
            .append("electricmeterRatio", getElectricmeterRatio())
            .append("cmccRatio", getCmccRatio())
            .append("unicomRatio", getUnicomRatio())
            .append("telcomRatio", getTelcomRatio())
            .append("relationState", getRelationState())
            .append("relationStartdate", getRelationStartdate())
            .append("relationEnddate", getRelationEnddate())
            .append("originalMeterDegree", getOriginalMeterDegree())
            .append("currentMeterDegree", getCurrentMeterDegree())
            .append("relationBillaccountId", getRelationBillaccountId())
            .append("createUserId", getCreateUserId())
            .append("createTime", getCreateTime())
            .append("updateUserId", getUpdateUserId())
            .append("updateTime", getUpdateTime())
            .append("lastModifyTime", getLastModifyTime())
            .append("onMeterType", getOnMeterType())
            .append("onIsShare", getOnIsShare())
            .append("isShow", getIsShow())
            .append("correctId", getCorrectId())
            .append("correctTime", getCorrectTime())
            .toString();
    }
}
